<?php

namespace app\api\controller\common;

use app\common\controller\Api;

class About extends Api
{
    protected $noNeedLogin = ['about'];
    protected $noNeedRight = ['*'];
    public function about()
    {
        $data = [
            'logo' => config('site.logo'),
            'title' => config('site.title'),
            'web' => config('site.web'),
            'mail' => config('site.mail'),
            'telegram' => config('site.telegram'),
            'app_version' => config('site.app_version'),
        ];

        $this->dataOk($data);
    }
}